package com.zhanghe.study.springcloudalibaba.dao;

import com.zhanghe.study.springcloudalibaba.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zh
 * @date 2021/9/15 15:11
 */
@Mapper
public interface OrderDao {
    void addOrder(Order order);

    void updateStatus(@Param("id") int id,@Param("status") int status);
}
